# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=cairomm1.16
pkgver=1.16.1
pkgrel=0
pkgdesc="C++ bindings to Cairo vector graphics library"
url="https://www.cairographics.org"
arch="all"
license="LGPL-2.0-or-later AND MPL-1.1"
makedepends="meson libsigc++3-dev cairo-dev perl"
subpackages="$pkgname-dev"
source="https://www.cairographics.org/releases/cairomm-$pkgver.tar.xz"
builddir="$srcdir/cairomm-$pkgver"

build() {
	abuild-meson \
		-Dboost-shared=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
2dbdd41f712d43573ad3118f37d443d2b9ae98737c240d5db8d830ef38f2b4a95182b2fc857577c7564eb94649e629f70380f16ee84f4978759f40e19d802757  cairomm-1.16.1.tar.xz
"
